BenSelect Documentation
Custom Import - Add $1 to salary field for new hire
Send Feedback
JScript Examples > JScript for Reports > Custom Import - Add $1 to salary field for new hire

Glossary Item Box

Background: Use this script to all $1 to the salary field for a new hire.

Method: Entered into the script field for Gross Salary:


 // if DOH is after the last 7 days
if (Event.Record["Date of Hire"] > DateTime.Today.AddDays(-7))
Event.Value = 1.00; // set the annual salary in Selerix for new hires

 

NOTE: "Date of Hire" should match the custom column header, not the default census column header. Do not assign a mapped column header title as this will apply the above script to all employees and overwrite existing salary values when this is intended only for new-hires.

 

©2024. All Rights Reserved.